package com.itheima.redbaby.bean;

import java.io.Serializable;
import java.util.List;

public class Product implements Serializable{
	private int id;
	private String name;
	private float marketprice;
	private float price;
	private float limitprice;
	private long lefttime;
	private float score;
	private int available;
	private int buylimit;
	private String[] productprom;
	private List<String> bigpic;
	private List<String> pics;
	private int commentcount;
	private String inventoryarea;
	private int number;
	private long uplimit;
	private String topicid;
	private int salecount;
	private long uptime;
	private int ishot;
	private int isnew;
	private double integral;
	private String description;
	private String filter;
	private int brandid;
	private int isgift;
	private List<ProductProperty> product_property;
	private String pic;// 单个图片资源
	private String src;// 图片资源的地址

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public float getMarketprice() {
		return marketprice;
	}

	public void setMarketprice(float marketprice) {
		this.marketprice = marketprice;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public float getLimitprice() {
		return limitprice;
	}

	public void setLimitprice(float limitprice) {
		this.limitprice = limitprice;
	}

	public long getLefttime() {
		return lefttime;
	}

	public void setLefttime(long lefttime) {
		this.lefttime = lefttime;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public int getAvailable() {
		return available;
	}

	public void setAvailable(int available) {
		this.available = available;
	}

	public int getBuylimit() {
		return buylimit;
	}

	public void setBuylimit(int buylimit) {
		this.buylimit = buylimit;
	}

	public String[] getProductprom() {
		return productprom;
	}

	public void setProductprom(String[] productprom) {
		this.productprom = productprom;
	}

	public List<String> getBigpic() {
		return bigpic;
	}

	public void setBigpic(List<String> bigpic) {
		this.bigpic = bigpic;
	}

	public List<String> getPics() {
		return pics;
	}

	public void setPics(List<String> pics) {
		this.pics = pics;
	}

	public int getCommentcount() {
		return commentcount;
	}

	public void setCommentcount(int commentcount) {
		this.commentcount = commentcount;
	}

	public String getInventoryarea() {
		return inventoryarea;
	}

	public void setInventoryarea(String inventoryarea) {
		this.inventoryarea = inventoryarea;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public long getUplimit() {
		return uplimit;
	}

	public void setUplimit(long uplimit) {
		this.uplimit = uplimit;
	}

	public String getTopicid() {
		return topicid;
	}

	public void setTopicid(String topicid) {
		this.topicid = topicid;
	}

	public int getSalecount() {
		return salecount;
	}

	public void setSalecount(int salecount) {
		this.salecount = salecount;
	}

	public long getUptime() {
		return uptime;
	}

	public void setUptime(long uptime) {
		this.uptime = uptime;
	}

	public int getIshot() {
		return ishot;
	}

	public void setIshot(int ishot) {
		this.ishot = ishot;
	}

	public int getIsnew() {
		return isnew;
	}

	public void setIsnew(int isnew) {
		this.isnew = isnew;
	}

	public double getIntegral() {
		return integral;
	}

	public void setIntegral(double integral) {
		this.integral = integral;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFilter() {
		return filter;
	}

	public void setFilter(String filter) {
		this.filter = filter;
	}

	public int getBrandid() {
		return brandid;
	}

	public void setBrandid(int brandid) {
		this.brandid = brandid;
	}

	public int getIsgift() {
		return isgift;
	}

	public void setIsgift(int isgift) {
		this.isgift = isgift;
	}

	public List<ProductProperty> getProduct_property() {
		return product_property;
	}

	public void setProduct_property(List<ProductProperty> product_property) {
		this.product_property = product_property;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getSrc() {
		return src;
	}

	public void setSrc(String src) {
		this.src = src;
	}

	@Override
	public String toString() {
		return "Product [id=" + id + ", name=" + name + ", marketprice="
				+ marketprice + ", price=" + price + ", limitprice="
				+ limitprice + ", lefttime=" + lefttime + ", buylimit="
				+ buylimit + ", topicid=" + topicid + ", ishot=" + ishot
				+ ", isnew=" + isnew + ", brandid=" + brandid + ", pic=" + pic
				+ "]";
	}

}
